Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds process descriptions #2542

Merged
merged 2 commits into from
Oct 18, 2024
Merged

Adds process descriptions #2542

merged 2 commits into from
Oct 18, 2024

Conversation

egonw
Copy link
Collaborator

@egonw egonw commented Oct 12, 2024

Fixes #2529

Description

Adds the pathway description

Caveats

Only changes the SPARQL query.

Testing

Checklist

  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have not used code from external sources without attribution
  • I have considered accessibility in my implementation
  • There are no remaining debug statements (print, console.log, ...)

VALUES ?chemical { target: }
?chemical wdt:P361 ?pathway.
?pathway wdt:P527 ?chemical.
?pathway wdt:P31 wd:Q2996394.
OPTIONAL {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Description comes automatically from the labelling SERVICE

Removed unnecessary OPTIONAL block as labeling service sets
the ?pathwayDescription variable.

Styling change to the code: use the target variable.
@fnielsen fnielsen merged commit b436ea7 into master Oct 18, 2024
7 checks passed
@fnielsen fnielsen self-assigned this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add description column to "Biological processes in which the chemical is involved" in chemical aspect
2 participants